
export function useWebRtc(){
    let peer = new RTCPeerConnection({
      iceServers: [
        {
          urls: "stun:stun.l.google.com:19302",
        },
        {
          urls: "stun:stun.services.mozilla.com",
        },
        {
          urls: "turn:my-turn-server.com",
          username: "my-username",
          credential: "my-password",
        },
      ]
    })
    return {
        peer
    }
}
